package com.lanhu.designpattern.delegation.student;

/**
 * author:zhangzg
 * date:2020/11/9 15:22
 */
public class Test {
    public static void main(String[] args) {
        ClassMonitor classMonitor = new ClassMonitor();
        Teacher teacher = new Teacher();
        teacher.commond(classMonitor, "学习");
        teacher.commond(classMonitor, "体育");
    }
}
